<template>
  <el-container id="outer-container">
    <v-header :title='title'></v-header>
    <el-container>
      <sideBar></sideBar>
      <router-view/>
    </el-container>
  </el-container>
</template>
<script>
import VHeader from './header/header'
import sideBar from './sideBar/sideBar'

export default {
  name: 'base',
  data() {
    return {
      title: '后台管理',
      user: {
        name: ''
      }
    }
  },
  components: {
    'v-header': VHeader,
    sideBar
  }
}
</script>
<style lang="less" scoped>
#outer-container {
  flex-direction: column;
  height: 100%;
}
</style>
